﻿// 1.1.5.01. Write an if statement that examines two integer variables and 
// exchanges their values if the first one is greater than the second one.

using System;

class ExchangingValuesWithIf
{
    static void Main()
    {
        int a = int.Parse(Console.ReadLine());
        int b = int.Parse(Console.ReadLine());
        if (a > b)
        {
            a = a + b;
            b = a - b;
            a = a - b;
        }
    }
}